Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: close hintUl on unfocus #1837

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Conversation

Keith-Web3
Copy link
Contributor

Closes #1829

Description

Turns out the DOMNodeRemoved mutation event being used to remove the hintUl has been deprecated for a while and is only supported on few browsers like firefox. This PR changes the way the hintUl is being removed to use an intersectionObserver instead.

Copy link

vercel bot commented Nov 26, 2024

@Keith-Web3 is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 2:42pm

Copy link
Contributor

@dimaMachina dimaMachina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can confirm it was fixed, can you rerun prettier? 🙏

@Keith-Web3
Copy link
Contributor Author

No problem

can confirm it was fixed, can you rerun prettier? 🙏

@Keith-Web3
Copy link
Contributor Author

Done.

@dimaMachina dimaMachina merged commit 4cc50e2 into graphql:source Nov 26, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltips in interactive code boxes persist after focus is removed
2 participants